Passed
Push — master ( e1efef...d34f83 )
by
unknown
15:24
created

PluginDropdownDispatcher   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
c 0
b 0
f 0
dl 0
loc 8
rs 10
wmc 1

1 Function

Rating   Name   Duplication   Size   Complexity  
A getMenuItem 0 6 1
1
import AbstractDropdownDispatcher from './AbstractDropdownDispatcher';
2
import { svgIcon } from '../MDI';
3
4
class PluginDropdownDispatcher extends AbstractDropdownDispatcher {
5
    getMenuItem(schema) {
6
        return super.getMenuItem(schema, {
7
            icon: svgIcon('puzzle-outline'),
8
            label: 'Plugins',
9
        });
10
    }
11
}
12
13
export default PluginDropdownDispatcher;
14